package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.SetmealDishDto;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entity.Setmeal;
import com.itheima.reggie.entity.SetmealDish;
import org.springframework.stereotype.Service;

import java.util.List;


public interface SetmealService extends IService<Setmeal> {

    void saveWithDish(SetmealDto setmealDto);

    Page<SetmealDto>selectByPage(Integer page,Integer pageSize,String name);

    void removeWithDish(Long[]ids);
    List<SetmealDishDto>listWithImage(Long setmealId);
}
